package com.woniu.service;

import com.woniu.entity.Admins;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author WenXin
 * @version 1.0
 * @description: TODO
 * @date 2022/8/20 19:33
 */
public interface RbacManagerService {
    //增删改查
    int add(int a, int b);

    void find();

    //增
    int insert(@Param("user") String user, @Param("pwd") String pwd);

    //删
    int delete(@Param("id") int id);

    //改
    int update(Admins admins);

    //查
    Admins findOne(@Param("id") int id);

    List<Admins> findAll();
}
